package BookManagement.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.text.SimpleDateFormat;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Stock {
    private String bookISBN;
    private String bookName;
    private int counts;
    private String address;
    private String time = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss").format(System.currentTimeMillis());
}
